package com.gper.vip.homework.facotry.simple;

public class BMWCar extends Car {

    private String brand = "BMW";

    private String color = "red";

    private String enegy = "oil";

    public void driver() {
        System.out.println("I driver the car of "+color+" "+brand+" with "+enegy);
    }

}
